package com.gaojinqi.service;

import com.gaojinqi.dataobject.ProductCategory;

import java.util.List;
import java.util.Optional;

/**
 * 类目
 *
 * @author gaojinqi
 * @date 2019/4/30 23:53
 */
public interface CategoryService {

    Optional<ProductCategory> findOne(String categoryId);

    List<ProductCategory> findAll();

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categortyTypeList);

    ProductCategory save(ProductCategory productCategory);

}
